package com.clever.springssm.exception;

import lombok.Data;
import lombok.Generated;
import lombok.Getter;
import lombok.Setter;

/**
 * @author ChenWang
 * @className ServiceException
 * @date 2020/10/30 15:40
 * @since JDK 1.8
 */
@Getter
@Setter
public class ServiceException extends RuntimeException{
    private int status;
    public ServiceException(String message,int status) {
        super(message);
        this.status = status;
    }
}
